package com.example.user_manage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author erju
 * @since 2021-05-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @TableId(value = "BH", type = IdType.AUTO)
    private Integer bh;

    /**
     * 账号
     */
    @TableField("ZH")
    private String zh;

    /**
     * 密码
     */
    @TableField("MM")
    private String mm;

    /**
     * 姓名
     */
    @TableField("XM")
    private String xm;

    /**
     * 类型
     */
    @TableField("LX")
    private String lx;

    /**
     * 乐观锁
     */
    private Integer version;

    /**
     * 为删除
     */
    private Integer isDelele;

    /**
     * 创建时间
     */
    private LocalDateTime gmtCreate;

    /**
     * 修改时间
     */
    private LocalDateTime gmtUpdate;


}
